<%--
  Created by IntelliJ IDEA.
  User: 小龙
  Date: 2022/1/21
  Time: 17:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>新增页面</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/editUser" method="post">
    <input type="hidden" name="id" value="${id}">
    <table>
        <tr>
            <td>账号</td>
            <td><input type="text" name="name" value="${name}"></td>
        </tr>
        <tr>
            <td>昵称</td>
            <td><input type="text" name="nickName" value="${nickName}"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="passwd" value="${passwd}"></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"></td>
            <td><input type="reset" value="重置"></td>
        </tr>
    </table>
    <c:if test="${msg!=null}"><h5>${msg}</h5></c:if>
</form>
</body>
</html>
